package com.hxgis.statisticanalysis.intelligentIndicator.vo;

import com.hxgis.export.resource.TableRow;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author 赵恒
 * @date 2022/12/14
 * 气象服务流程工单统计表
 */
@Data
@ApiModel
public class WorkOrderStatistic implements TableRow {
    /**
     * 工单模型
     */
    @ApiModelProperty(value = "工单模型名称")
    private String workOrderModelName;

    /**
     * 服务类型
     */
    @ApiModelProperty(value = "服务类型")
    private String serviceType;

    /**
     * 按类型统计的数量
     */
    @ApiModelProperty(value = "按类型统计的数量")
    private String typeStatisticNum;

    /**
     * 工单总数
     */
    @ApiModelProperty(value = "工单总数")
    private String workOrderTotal;

    /**
     * 工单完成数
     */
    @ApiModelProperty(value = "工单完成数")
    private String completedWorkOrderTotal;

    /**
     * 工单未完成数
     */
    @ApiModelProperty(value = "工单未完成数")
    private String uncompletedWorkOrderTotal;

    /**
     * 完成率
     */
    @ApiModelProperty(value = "完成率")
    private String completedRate;

    @Override
    public String[] rowData() {
        return new String[]{workOrderModelName, serviceType, typeStatisticNum, workOrderTotal, completedWorkOrderTotal, uncompletedWorkOrderTotal, completedRate};
    }
}
